const express = require('express');
const router = express.Router();
const path = require('path');
const { VT_IMG_PARM_DIR, VT_IMG_DIR, TARGET_DIR } = require('../constants/paths');

// 设置静态文件路由
router.use("/vt_parm_images", express.static(VT_IMG_PARM_DIR));
router.use("/vt_images", express.static(VT_IMG_DIR));
router.use("/vt_targets_dir", express.static(TARGET_DIR));

module.exports = router;